package com.lagou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "lagou-homework-1-user-service")
public interface TokenFeign {

    @RequestMapping("/api/user/info/{token}")
    public String checkToken(@PathVariable("token")String token);


}
